.biz-user-card,.user-card-demo{
  width: 360px;
  position: fixed;
  z-index: 9999;
  background-color: #fafafafa;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,.1);
  // .el-card__body{
    // padding:90px 0 68px 0;
    padding:90px 0 0 0;
    border-radius: 8px;
  // }
  border: 1px solid #ebeef5;
  overflow: hidden;
  transition: .3s;
  &.biz-user-card-im{
    // padding-bottom: 60px;
  }
  &-header{
    display: flex;
    height: 90px;
    background-color: #fff;
    padding: 20px;
    position: absolute;
    top: 0;
    width: 100%;
    .avatar{
      width: 50px;
      height: 50px;
      border-radius: 50%;
      margin-right: 16px;
    }
    .state{
      max-width: 220px;
      overflow: hidden;
      &-top{
        line-height: 26px;
        display: flex;
      }
      &-bottom{
        line-height: 28px;
        color: #595959;
      }
    }
    .user-name{
      font-size: 18px;
      color:#262626;
      font-weight: 600;
      max-width: 150px;
      display: inline-block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .work-state{
      display: flex;
      align-items: center;
      margin-left: 12px;
      i{
        margin-right: 4px;
      }
      span{
        max-width: 100px;
        display: inline-block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
    }
    .right-arrow{
      margin-left:auto ;
      display: flex;
      align-items: center;
    }
  }
  .off-job{
    color: #595959;
  }
  &-main{
    max-height: 300px;
    overflow-y: auto;
  }
  .biz-user-info{
    // margin-top: 1px;
    font-size: 14px;
    background-color: #fafafafa;
    padding: 0 20px;
    .user-form-item{
      padding-bottom: 4px;
      &:first-child{
        padding-top: 16px;
      }
      &:last-child{
        padding-bottom: 16px;
      }
      display: flex;
      line-height: 24px;
      .user-card-label{
        width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: #8C8C8C;
      }
      .user-card-content{
        width: calc(100% - 80px);
        word-break: break-all;
        color: #262626;
        .service{
          display: inline-block;
          text-align: center;
          width: 52px;
          height: 22px;
          background: #FFFBF5;
          border-radius: 4px;
          border: 1px solid #E8E8E8;
          line-height: 20px;
          font-size: 12px;
          font-family: PingFangSC-Medium, PingFang SC;
          color: #FF9100;
          margin-left: 8px;
        }
      }
    }
  }
  .calendar-devider{
    height: 1px;
    width: 100%;
    background-color: #E8E8E8;
    border-left: 20px solid #fafafa;
    border-right: 20px solid #fafafa;
  }
  .biz-user-card-footer{
    height: 68px;
    position: absolute;
    bottom: 0;
    display: flex;
    align-items: center;
    color: #262626;
    font-size: 12px;
    padding: 0 10px;
    .link{
      i{
        font-size: 20px;
      }
      display: flex;
      cursor: pointer;
      width: 72px;
      flex-direction: column;
      text-align: center;
      &:hover{
        color: $color-primary;
      }
      margin-right: 8px;
    }
  }
  .user-card-im{
    padding-top:10px;
    width: 100%;
    height: 60px;
    padding-top:10px;
    text-align: center;
    .user-card-im-btn{
      width: 320px;
      height: 40px;
      margin: auto;
      background: $color-primary;
      border-radius: 4px;
      color: #fff;
      line-height: 40px;
      text-align: center;
    }
  }
}
.user-card-demo{
  z-index: 1;
}
.biz-user-card{
  .right-arrow,.look-calendar,.user-card-im-btn{
    cursor: pointer;
  }
  .look-calendar{
    color: $color-primary;
  }
  .right-arrow:hover{
    color: $color-primary;
  }
}